package com.yunhe.device.domain.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;

/**
 * @author liuronglei
 */
@ApiModel(value = "BatteryType", description = "电池类型对象")
@NodeEntity
public class BatteryType {
    @ApiModelProperty(value = "类型ID")
    @Id
    private Long id;
    @ApiModelProperty(value = "类型编号")
    private String name;
    @ApiModelProperty(value = "类型标题")
    private String title;
    @ApiModelProperty(value = "是否可用")
    private Boolean activity = true;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean getActivity() {
        return activity;
    }

    public void setActivity(Boolean activity) {
        this.activity = activity;
    }
}
